package com.bl.commons.enums;


import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.ToString;

/**
 * @author bl
 * @date 2023/10/16
 */
@Getter
@ToString
@AllArgsConstructor
public enum RespCodeEnum {

    /**
     *
     */
    SERVER_ERROR("E1", "服务异常"),
    /**
     *
     */
    PARAMS_ERROR("E2", "参数异常"),

    /**
     *
     */
    SUCCESS("E200", "ok"),
    /**
     *
     */
    NO_PRIVILEGE("E401", "无权限访问"),
    /**
     *
     */
    REMOTE_CALL("E4001", "远程调用异常"),
    /**
     *
     */
    NOT_EXISTS_CLIENT("E5001", "查询客户不存在");

    /**
     * 响应码
     */
    private final String code;
    /**
     * 响应编码
     */
    private final String msg;
}
